Download and Configure Admin Console
Download the domain binaries as mentioned in the prerequisites section of this document.
Once downloaded, define the following environment variables at docker run time using the -e option in the command line or define them in the ac_env.dat file, which is the AdminConsole environment configuration file.
The environment configuration variables, that need to be set for the WebLogic admin server, managed servers, and application configuration are defined below:
| Configuration Parameters | Variables |
|---|---|
|
WebLogic Admin Server Hostname |
ADMIN_HOST |
|
Application Domain Name |
APP_DOMAIN_NAME |
|
WebLogic Admin Server Port |
ADMIN_PORT |
|
Coherence Cluster Name |
CLUSTER_NAME |
|
WebLogic Server Password |
ADMIN_PASSWORD |
|
Data Source Name |
DSNAME |
|
Data Source JNDI Name |
DSJNDINAME |
|
Data Source Database Name |
DSDBNAME |
| Database Driver Class | DSDRIVER |
| Database Connection URL | DSURL |
| Data Source SQL Test Query | DSTESTQUERY |
| Data Source Maximum Capacity | DSMAXCAPACITY |
| READ-ONLY Data Source Name | AC_DSNAME |
| READ-ONLY Data Source JNDI Name | AC_DSJNDINAME |
| Database Username | AC_DSUSERNAME |
| Database Password | AC_DSPASSWORD |
| AdminConsole Application Name | READONLYDSUSERNAME |
| Application Machine Name | APP_MACHINE_NAME |
| Application Managed Server Name | APP_MSERVER_NAME |
| Application Managed Server Port | APP_MSERVER_PORT |
| Application Machine Port | APP_MACHINE_PORT |
| WebLogic Debug Port | DEBUG_PORT |
| AdminConsole associated PAS Port | AC_PAS_PORT |
| AdminConsole associated Cycle Port | AC_CYCLE_PORT |
| External Library Path | EXT_LIB_PATH |
| ATP Compatibility | ATP_COMPLIANT |
| Spring JAR Name | SPRING_JAR |
| Cycle trust store password | CYCLE_TRUSTSTORE_PASSWORD |
| Service layer trust store password | SERVICE_TRUSTSTORE_PASSWORD |
DSDRIVER: Provide the Database driver based on the database used.
ORACLE: oracle.jdbc.driver.OracleDriver
DB2: com.ibm.db2.jcc.DB2Driver
MSSQL: com.microsoft.sqlserver.jdbc.SQLServerDriver
DSURL: Provide the DataSource Connection URL based on the Database selected.
ORACLE: jdbc:oracle:thin:@//hostname:port/ServiceName
DB2: jdbc:db2://hostname:port/DatabaseName
MSSQL: jdbc:sqlserver://hostname:port;databaseName=DatabaseName
Example: For SQL Server
When the encrypt property is set to true and the trustServerCertificate property is set to true, the Microsoft JDBC Driver for SQL Server won't validate the SQL Server TLS certificate. This setting is common for allowing connections in test environments, such as where the SQL Server instance has only a self-signed certificate.
jdbcUrl = jdbc:sqlserver://<host>:<port>;DatabaseName=<databasename>;encrypt=true;trustServerCertificate=true
For ATP : jdbc:oracle:thin:@WALLET_DBNAME?TNS_ADMIN=/u01/oracle/externallibs/shared/atp/wallet/
Autonomous Transaction Processing Database (ATP) Variables
| ATP Configuration Parameters | Variables | Example |
|---|---|---|
| Wallet Location | WALLET | /u01/oracle/externallibs/shared/atp/wallet |
| SSL Version | SSL_VERSION | 1.2 |
| Keystore Type | KEYSTORE_TYPE | JKS |
| Keystore Password | KEYSTORE_PASSWORD | KeyStore_Password |
| Truststore Type | TRUSTSTORE_TYPE | JKS |
| Truststore Password | TRUSTSTORE_PASSWORD | TrueStore_Password |
| Fan Enable | FAN_ENABLED | false |
| SSL Server DN | SSL_SERVER_DN_MATCH | true |
Note:
1. The ATP_COMPLIANT variable denotes whether the application complies with ATP or not. Choose the appropriate option before provisioning the environment.
2. Refer to the ac_env.dat file for more information regarding these variables.